import request from '@/utils/request'

// 查询工资计算历史列表
export function listWageOperateHistroy(query) {
  return request({
    url: '/module/wageOperateHistroy/list',
    method: 'get',
    params: query
  })
}

// 查询工资计算历史详细
export function getWageOperateHistroy(id) {
  return request({
    url: '/module/wageOperateHistroy/' + id,
    method: 'get'
  })
}

// 新增工资计算历史
export function addWageOperateHistroy(data) {
  return request({
    url: '/module/wageOperateHistroy',
    method: 'post',
    data: data
  })
}

// 修改工资计算历史
export function updateWageOperateHistroy(data) {
  return request({
    url: '/module/wageOperateHistroy',
    method: 'put',
    data: data
  })
}

// 删除工资计算历史
export function delWageOperateHistroy(id) {
  return request({
    url: '/module/wageOperateHistroy/' + id,
    method: 'delete'
  })
}
